<script setup lang="ts">
import { RouterLink } from 'vue-router';
</script>

<template>
  <div>
    <h1>索引页面</h1>
    <nav class="nav">
      <RouterLink to="/bubble-sort">冒泡排序</RouterLink>
    </nav>
  </div>

</template>

<style scoped>
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
</style>